package com.hmdp.utils;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class RedisData {
    //逻辑过期时间解决缓存击穿
    private LocalDateTime expireTime;
    //shop也好，还是其他存入redis的数据
    private Object data;
}
